package com.authenticateCenter.service;

import com.authenticateCenter.domain.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.mybaits.CustomPage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 大忽悠
 * @since 2022年10月08日
 */
public interface IRoleService extends IService<Role> {

    List<Role> getRolesByUid(CustomPage customPage, Integer uid);

    void removeRole(Integer roleId, IRoleAuthorityService iRoleAuthorityService);
}
